package cloud.maque.admin.domain.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 4color
 * @description mq_xzq_area
 * @date 2023-03-17
 */
@Data
public class MqXzqArea implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    /**
     * area_id
     */
    private String areaId;

    /**
     * area_name
     */
    private String areaName;

    /**
     * area_code
     */
    private String areaCode;

    /**
     * area_parent_id
     */
    private String areaParentId;

    /**
     * area_state
     */
    private Integer areaState;

    /**
     * area_parent_name
     */
    private String areaParentName;

    /**
     * area_order
     */
    private Integer areaOrder;

    /**
     * created_at
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createdAt;

    /**
     * updated_at
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updatedAt;

    public MqXzqArea() {
    }
}
